package com.fs.image.test;

import java.awt.*;

/**
 * @author shuai.fang
 * @date：2017-03-15
 * @description：
 */
public class ListFonts {

	public static void main(String[] args) {
		String[] fontNames = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
		for (String fontName : fontNames) {
			System.out.println(fontName);
		}
	}

}
